-- GENERATED SPELL FOR [Stable Master Kitrik] --


function spell0_28683(pUnit, Event) --@Repo,n/a--
pUnit:FullCastSpellOnTarget(52265,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28683', 288, 1)
end

function Sorts_28683(pUnit, Event)
local choix_sorts_28683 = math.random(0, 0)
if choix_sorts_28683 == 0 then
pUnit:RegisterEvent('spell0_28683', 1, 1)
end
end

function mob28683_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28683', math.random(1500, 3000), 1)
end

function mob28683_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28683_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28683_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28683, 1, 'mob28683_Action')
RegisterUnitEvent(28683, 2, 'mob28683_Leave')
RegisterUnitEvent(28683, 3, 'mob28683_Kill')
RegisterUnitEvent(28683, 4, 'mob28683_Die')
